<ng-container *ngIf="computer">
	<div class="modal-header">
		<h3>
			修改终端
		</h3>
	</div>
	<div class="modal-body">
		<div class="form-group">
			<label for="">终端别名</label>
			<div>
				<input type="text" id="computer" name="computer" class="form-control" [(ngModel)]="computer.name" />
			</div>
		</div>
		<div class="form-group">
			<label for="">终端备注</label>
			<div>
				<input type="text" id="remark" name="remark" class="form-control" [(ngModel)]="computer.remark" />
			</div>
		</div>
	</div>
	<div class="modal-footer">
		<button type="button" class="btn btn-secondary">取消</button>
		<button type="submit" class="btn btn-primary" (click)="save(computer)">保存</button>
	</div>
</ng-container>
